home *** CD-ROM | disk | FTP | other *** search
/ Programmer Power Tools / Programmer Power Tools.iso / progjrn / pj_7_6.arc / WINDEV.ARC / WINAUX.H < prev    next >
C/C++ Source or Header  |  1989-02-07  |  2KB  |  60 lines

  1. /* 
  2.  * Winaux header file
  3.  *
  4.  * Written by Bill Hall
  5.  * 3665  Benton Street, #66
  6.  * Santa Clara, CA 95051
  7.  *
  8.  */
  9.  
  10. /*
  11.    This little trick insures that the external variables are delcared
  12.    in only one place, namely in the file where EXTERN is defined.
  13. */
  14. #ifndef EXTERN
  15. #define EXTERN extern
  16. #endif
  17.  
  18. /* functions declarations which are shared among modules */
  19. BOOL FAR InitProgram(HANDLE,HANDLE,LPSTR,int);
  20. LONG FAR PASCAL MainWndProc(HWND,unsigned,WORD,LONG);
  21. BOOL FAR PASCAL AboutBoxProc(HWND,unsigned,WORD,LONG);
  22. void WndCreate(HWND, LONG);
  23. void NEAR MainWndPaint(HWND, LPPAINTSTRUCT);
  24. int SetWinIni(HWND hWnd);
  25. void NEAR AdjustHeight(short width, short height);
  26. void NEAR WndCommand(HWND hWnd, WORD wParam);
  27. void NEAR DispatchString(HWND hWnd, WORD wParam, LONG lParam);
  28.  
  29. /* dialog box manifest */
  30. #define DT_ABOUT    1
  31.  
  32. /* string manifests */
  33. #define IDS_APPNAME    100
  34. #define IDS_WINTITLE    102
  35. #define IDS_ICONSTRING    103
  36. #define IDS_HWND    104
  37. #define IDS_X        105
  38. #define IDS_Y        106
  39. #define IDS_CX        107
  40. #define IDS_CY        108
  41. #define IDS_LOGFILE    109
  42. #define IDS_NOLOGFILE    110
  43. #define IDS_BEGINLOG    111
  44. #define IDS_ENDLOG    112
  45.  
  46. /* menu items */
  47. #define IDM_ABOUT    200
  48. #define IDM_CRONLF    201
  49. #define IDM_CLEAR    202
  50. #define IDM_LOG        203
  51.  
  52. /* global variables */
  53. EXTERN struct TTYWND MWnd;
  54. EXTERN char szAppName[10];
  55. EXTERN char szIconTitle[5];
  56. EXTERN char szhWnd[5];
  57. EXTERN char szBeginLog[50];
  58. EXTERN char szEndLog[50];
  59. EXTERN int hFile;
  60. EXTERN BOOL LogToFile;